function checkWidth() 
{
    var windowSize = $(window).width();
    if(windowSize <= 640)
	{
		//<![CDATA[
		document.write("<script src=\"https://folderjs.googlecode.com/svn/trunk/jquery.dlmenu.js\"><\/script>");
		//]]>
        $( '#dl-menu' ).dlmenu({
			animationClasses : { classin : 'dl-animate-in-5', classout : 'dl-animate-out-5' }
		});               
    }                    
}                
checkWidth();                
$(window).resize(checkWidth);